package com.tcu.base.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

public class MD5Util {
    public static String toMD5(String password,String salt){
        Md5Hash md5Hash = new Md5Hash(password, salt, 1024);
        return md5Hash.toHex();
    }
}
